package com.liaogui.template;

/**
 * @author liaogui
 * @date 2025/2/4 11:56
 */
public class CompanyAServiceImpl extends AbstractMerchantService{
    @Override
    void queryMerchantInfo() {
        System.out.println("查询用户商户信息：A");
    }

    @Override
    void signature() {
        System.out.println("加签");
    }

    @Override
    void httpRequest() {
        if (isRequestByProxy()) {
            System.out.println("走http代理");
        } else {
            System.out.println("不走http代理");
        }
    }

    @Override
    void verifySinature() {
        System.out.println("验证签名");
    }

    @Override
    boolean isRequestByProxy() {
        return true;
    }

}
